package com.globallogic.dailyplanner.service;

import java.util.List;

import com.globallogic.dailyplanner.dto.RoleEnum;
import com.globallogic.dailyplanner.dto.User;

public interface UserService {
	List<User> getAll();
	User getById(int id);
	User save(User user);
	void kill(int userId);
	void activate(int userId);
	User findOneByName(String username);
	User getByEmail(String email);
	long getUsersByStatusAndRole(boolean status, RoleEnum role);
}
